package com.ruoyi.chargepile.domain.enums;

/**
 * @program: ruoyi
 * @description: 充电桩状态枚举类
 * @author: XINGchi0130
 * @create: 2024-07-06 09:21
 **/
public enum ChargePileStatusEnum {

    IDLE("0", "空闲"),
    IN_USE("1", "使用中"),
    IN_MAINTENANCE("2", "维修中"),
    OUT_OF_SERVICE("3", "停用");


    private final String code;
    private final String info;

    ChargePileStatusEnum(String code, String msg) {
        this.code = code;
        this.info = msg;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
